package com.jinmdz.fmis.api.model;

import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.core.constant.EDictCode;

/**
 * @author LiCongLu
 * @date 2020-01-14 16:24
 */
public class DeadDetailInfo extends BaseBean {
    private String deadName;
    private Integer deadGenderCode;
    private Integer deadNationCode;
    private Integer certificateTypeCode;
    private Integer deathCauseCode;
    private Integer ashHandleTypeCode;
    private Integer remainsClassCode;
    private Integer remainsTypeCode;
    private Integer remainsStateCode;

    @AnDict(dict = EDictCode.SEX, ref = "deadGenderCode")
    private String deadGender;
    @AnDict(dict = EDictCode.NATION, ref = "deadNationCode")
    private String deadNation;
    @AnDict(dict = EDictCode.CERTIFICATES, ref = "certificateTypeCode")
    private String certificateType;
    @AnDict(dict = EDictCode.CAUSE_OF_DEATH, ref = "deathCauseCode")
    private String deathCause;
    @AnDict(dict = EDictCode.TYPE_OF_DEATH, ref = "remainsClassCode")
    private String remainsClass;
    @AnDict(dict = EDictCode.CREMATION_TYPE, ref = "remainsTypeCode")
    private String remainsType;
    @AnDict(dict = EDictCode.REMAINS_STATE, ref = "remainsStateCode")
    private String remainsState;

    @AnDict()
    private DeadDetailInfo info;

    public String getDeadName() {
        return deadName;
    }

    public DeadDetailInfo setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public Integer getDeadGenderCode() {
        return deadGenderCode;
    }

    public DeadDetailInfo setDeadGenderCode(Integer deadGenderCode) {
        this.deadGenderCode = deadGenderCode;
        return this;
    }

    public Integer getDeadNationCode() {
        return deadNationCode;
    }

    public DeadDetailInfo setDeadNationCode(Integer deadNationCode) {
        this.deadNationCode = deadNationCode;
        return this;
    }

    public Integer getCertificateTypeCode() {
        return certificateTypeCode;
    }

    public DeadDetailInfo setCertificateTypeCode(Integer certificateTypeCode) {
        this.certificateTypeCode = certificateTypeCode;
        return this;
    }

    public Integer getDeathCauseCode() {
        return deathCauseCode;
    }

    public DeadDetailInfo setDeathCauseCode(Integer deathCauseCode) {
        this.deathCauseCode = deathCauseCode;
        return this;
    }

    public Integer getAshHandleTypeCode() {
        return ashHandleTypeCode;
    }

    public DeadDetailInfo setAshHandleTypeCode(Integer ashHandleTypeCode) {
        this.ashHandleTypeCode = ashHandleTypeCode;
        return this;
    }

    public Integer getRemainsClassCode() {
        return remainsClassCode;
    }

    public DeadDetailInfo setRemainsClassCode(Integer remainsClassCode) {
        this.remainsClassCode = remainsClassCode;
        return this;
    }

    public Integer getRemainsTypeCode() {
        return remainsTypeCode;
    }

    public DeadDetailInfo setRemainsTypeCode(Integer remainsTypeCode) {
        this.remainsTypeCode = remainsTypeCode;
        return this;
    }

    public Integer getRemainsStateCode() {
        return remainsStateCode;
    }

    public DeadDetailInfo setRemainsStateCode(Integer remainsStateCode) {
        this.remainsStateCode = remainsStateCode;
        return this;
    }

    public String getDeadGender() {
        return deadGender;
    }

    public DeadDetailInfo setDeadGender(String deadGender) {
        this.deadGender = deadGender;
        return this;
    }

    public String getDeadNation() {
        return deadNation;
    }

    public DeadDetailInfo setDeadNation(String deadNation) {
        this.deadNation = deadNation;
        return this;
    }

    public String getCertificateType() {
        return certificateType;
    }

    public DeadDetailInfo setCertificateType(String certificateType) {
        this.certificateType = certificateType;
        return this;
    }

    public String getDeathCause() {
        return deathCause;
    }

    public DeadDetailInfo setDeathCause(String deathCause) {
        this.deathCause = deathCause;
        return this;
    }

    public String getRemainsClass() {
        return remainsClass;
    }

    public DeadDetailInfo setRemainsClass(String remainsClass) {
        this.remainsClass = remainsClass;
        return this;
    }

    public String getRemainsType() {
        return remainsType;
    }

    public DeadDetailInfo setRemainsType(String remainsType) {
        this.remainsType = remainsType;
        return this;
    }

    public String getRemainsState() {
        return remainsState;
    }

    public DeadDetailInfo setRemainsState(String remainsState) {
        this.remainsState = remainsState;
        return this;
    }

    public DeadDetailInfo getInfo() {
        return info;
    }

    public DeadDetailInfo setInfo(DeadDetailInfo info) {
        this.info = info;
        return this;
    }
}
